///*
// * Copyright (c) 2018. Beyondsoft Corporation.
// * All Rights Reserved.
// *
// * BEYONDSOFT CONFIDENTIALITY
// *
// * The information in this file is confidential and privileged from Beyondsoft Corporation,
// * which is intended only for use solely by Beyondsoft Corporation.
// * Disclosure, copying, distribution, or use of the contents of this file by persons other than Beyondsoft Corporation
// * is strictly prohibited and may violate applicable laws.
// */
//
//package com.luci.security.support;
//
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//
///**
// * 系统异常Controller类.
// *
// * 响应Filter等系统异常
// *
// * @author chejin@beyondsoft.com
// * @date 2018-05-18
// * @version 1.0
// */
//@Controller
//public class ErrorController {
//
//    @RequestMapping("/404")
//    public void unmappedRequest() {
//        ApiResult.result(404, "key_resourse_is_not_found", "resource not found");
//    }
//
//    @RequestMapping("/500")
//    public void handlerFilterError() {
//        ApiResult.result(500, "key_system_error", "system error!");
//    }
//}
